const express = require('express');
const mongoose = require('mongoose');
const db = require('./db');

const adminSchema = mongoose.Schema({
	email:String,
	name:String,
	password:String,
	guanzhuCount:{
		type:Number,
		default:0
	},
	time:Date
})

const AdminModel = mongoose.model('admin',adminSchema);

module.exports = AdminModel;
